﻿using Entity;

namespace DataBaseConnect
{
    /// <summary>
    /// 用户管理仓储接口
    /// </summary>
    public interface IUserRepository : IRepository<User>
    {
        /// <summary>
        /// 根据用户名和密码获取用户信息
        /// </summary>
        /// <param name="Name">用户名</param>
        /// <param name="Passowrd">密码</param>
        /// <returns></returns>
        User GetUser(string Name, string Passowrd);
    }
}
